<template>
	<view class="content">
		<text class="success-icon yticon icon-xuanzhong2"></text>
		<text class="tit">결제완료</text>
		
		<view class="btn-group">
			<!-- <navigator :url="`/pages/indent/list?state=${state}`" open-type="redirect" class="mix-btn">查看订单</navigator> -->
			<navigator url="/" open-type="redirect"  class="mix-btn hollow">다음  ＞</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				state: 2,
			}
		},
		onShow(){
			uni.setNavigationBarTitle({
				title: this.$t('payment_log.succeed')
			})
		},
		onLoad(options) {
			if(options.state){
				this.state = options.state
			}
		},
		methods: {
			
		}
	}
</script>

<style lang='scss'>
	.content{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.success-icon{
		font-size: 160upx;
		color: #fa436a;
		margin-top: 100upx;
	}
	.tit{
		font-size: 38upx;
		color: #303133;
	}
	.btn-group{
		padding-top: 100upx;
	}
	.mix-btn {
		margin-top: 30upx;
		letter-spacing: 10upx;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 600upx;
		height: 80upx;
		font-size: $font-lg;
		color: #fff;
		background-color: $base-color;
		border-radius: 10upx;
		&.hollow{
			background: #fff;
			color: #303133;
			border: 1px solid #ccc;
		}
	}
</style>
